package com.bjpowernode.crm.workbench.service;

import com.bjpowernode.crm.workbench.domain.TranHistory;

import java.util.List;

/**
 * 郭俊才
 * 2021/8/27
 */
public interface TranHistoryService {
    //增加
    int saveSelective(TranHistory record);
    //删除
    int removeByPrimaryKey(String id);
    //修改
    int editByPrimaryKeySelective(TranHistory record);
    //根据主键查询
    TranHistory queryByPrimaryKey(String id);
    //查询全部
    List<TranHistory> queryAll();
    //根据交易主键查询详情
    List<TranHistory> queryByTranPrimaryKeyForDetails(String tranId);

}
